package com.swf.jpa.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.swf.jpa.model.Tyebpayinrequest;
import com.swf.jpa.repository.TyebpayinrequestRepository;

@Repository
@Transactional(readOnly = true)
public class TyebpayinrequestServiceImpl implements TyebpayinrequestService {
	@Autowired
	private TyebpayinrequestRepository repository;
	@Override
	public List<Tyebpayinrequest> findAll() {
		return repository.findAll();
	}
	@Override
	public Tyebpayinrequest findByVcPartnerrequestno(String vcPartnerrequestno) {
		return repository.findByVcPartnerrequestno(vcPartnerrequestno);
	}
	@Override
	public Tyebpayinrequest findByVcRequestno(String VcRequestno) {
		// TODO Auto-generated method stub
		return repository.findByVcRequestno(VcRequestno);
	}

}
